package com.b510.service.impl;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.b510.bean.Person;

public class PersonRowMapper implements RowMapper<Person> {

    @Override
    public Person mapRow(ResultSet set, int index) throws SQLException {
        Person person = new Person();
//        person.setId(set.getInt("id"));
//        person.setName(set.getString("name"));
//        person.setLink(set.getString("age"));
        return person;
    }

}